You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > Rem Method > TOpenCLMtxVec.Rem Method ([In] TOpenCLMtxVec, [In] double, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.Rem Method ([In] TOpenCLMtxVec, [In] double, int, int, int)

Calculates reminder after division X/Y.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Rem([In] TOpenCLMtxVec X, [In] double Y, int XIndex, int Index, int Len);

Reminder is calculated by using the following formula: 

x[i]-y*Trunc(x[i]/y). 

X must be a real. The results will be saved to the calling vector. An exception will be raised if array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!